Commands can be used to perform almost any kind of edit to the user's current document, other open documents, or to any HTML document on a local drive. Commands can insert, remove, or rearrange HTML tags and attributes, comments, and text.
Commands are HTML files. The BODY
of a command file can contain an HTML form that accepts options for the command (for example, how a table should be sorted and by which column). The HEAD
of a command file contains JavaScript functions that process form input from the BODY
and control what edits are made to the user's document.